//using System;
//using System.Collections.Generic;
//using System.Text;


//namespace Framework.Authority {
	
//    /// <summary><c>SysAppRepository</c> is the implementation of <see cref="ISysAppRepository"/>.</summary>
//    public partial class SysAppRepository : Framework.Mybatis.BaseHelper, ISysAppRepository {
    
//    public SysAppRepository():base("Framework.Authority.SysApp")
//    {}

//        /// <summary>Implements <see cref="ISysAppRepository.GetCount"/></summary>
//        public int GetCount() {
//            String stmtId = "GetCount";
//            int result = base.QueryForObject<int>(stmtId, null);
//            return result;
//        }

//        /// <summary>Implements <see cref="ISysAppRepository.Find"/></summary>
//        public SysApp Find(SysApp obj) {
//            String stmtId = "Find";
//            SysApp result = base.QueryForObject<SysApp>(stmtId, obj);
//            return result;
//        }

//        /// <summary>Implements <see cref="ISysAppRepository.FindAll"/></summary>
//        public IList<SysApp> FindAll() {
//            String stmtId = "FindAll";
//            IList<SysApp> result = base.QueryForList<SysApp>(stmtId, null);
//            return result;
//        }
		
//        /// <summary>Implements <see cref="ISysAppRepository.QuickFindAll"/></summary>
//        public IList<SysApp> QuickFindAll() {
//            String stmtId = "QuickFindAll";
//            IList<SysApp> result = base.QueryForList<SysApp>(stmtId, null);
//            return result;
//        }
		
//        /// <summary>Implements <see cref="ISysAppRepository.FindByAppName"/></summary>
//        public IList<SysApp> FindByAppName(String appName) {
//            String stmtId = "FindByAppName";
//            IList<SysApp> result = base.QueryForList<SysApp>(stmtId, appName);
//            return result;
//        }
		
//        /// <summary>Implements <see cref="ISysAppRepository.FindByAppOpTime"/></summary>
//        public IList<SysApp> FindByAppOpTime(DateTime appOpTime) {
//            String stmtId = "FindByAppOpTime";
//            IList<SysApp> result = base.QueryForList<SysApp>(stmtId, appOpTime);
//            return result;
//        }
		
//        /// <summary>Implements <see cref="ISysAppRepository.FindByAppStatus"/></summary>
//        public IList<SysApp> FindByAppStatus(Int32 appStatus) {
//            String stmtId = "FindByAppStatus";
//            IList<SysApp> result = base.QueryForList<SysApp>(stmtId, appStatus);
//            return result;
//        }
		
//        /// <summary>Implements <see cref="ISysAppRepository.Insert"/></summary>
//        public void Insert(SysApp obj) {
//            if (obj == null) throw new ArgumentNullException("obj");
//            String stmtId = "Insert";
//            base.Insert(stmtId, obj);
//        }
		
//        /// <summary>Implements <see cref="ISysAppRepository.Update"/></summary>
//        public void Update(SysApp obj) {
//            if (obj == null) throw new ArgumentNullException("obj");
//            String stmtId = "Update";
//            base.Update(stmtId, obj);
//        }
		
//        /// <summary>Implements <see cref="ISysAppRepository.Delete"/></summary>
//        public void Delete(SysApp obj) {
//            if (obj == null) throw new ArgumentNullException("obj");
//            String stmtId = "Delete";
//            base.Delete(stmtId, obj);
//        }
		
//        /// <summary>Implements <see cref="ISysAppRepository.DeleteByAppName"/></summary>
//        public int DeleteByAppName(String appName) {
//            String stmtId = "DeleteByAppName";
//            int result = base.Delete(stmtId, appName);
//            return result;
//        }
		
//        /// <summary>Implements <see cref="ISysAppRepository.DeleteByAppOpTime"/></summary>
//        public int DeleteByAppOpTime(DateTime appOpTime) {
//            String stmtId = "DeleteByAppOpTime";
//            int result = base.Delete(stmtId, appOpTime);
//            return result;
//        }
		
//        /// <summary>Implements <see cref="ISysAppRepository.DeleteByAppStatus"/></summary>
//        public int DeleteByAppStatus(Int32 appStatus) {
//            String stmtId = "DeleteByAppStatus";
//            int result = base.Delete(stmtId, appStatus);
//            return result;
//        }
		
//        /// <summary>Implements <see cref="ISysAppRepository.Reload"/></summary>
//        public void Reload(SysApp obj) {
//            if (obj == null) throw new ArgumentNullException("obj");
//            String stmtId = "SysApp.Find";
//            base.QueryForObject<SysApp>(stmtId, obj, obj);
//        }
		
//    }

//}
